package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkSuspendAnnex;

import java.util.List;

/**
 * <p>
 * 工单挂起附件表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-03-18
 */
public interface ZjWorkSuspendAnnexService extends IService<ZjWorkSuspendAnnex> {

    /**
     * 保存工单挂起图片附件
     * @param custAccId 商家ID
     * @param suspendId 工单挂起ID
     * @param paths 路径对象
     */
    void save(Long custAccId, Long suspendId, List<String> paths);

    /**
     * 根据挂起工单ID获取附件图片
     * @param workSuspendId 挂起工单ID
     * @return
     */
    List<ZjWorkSuspendAnnex> getByWorkSuspendId(Long workSuspendId);
}
